package com.qiuyang.service.show.Impl;

import com.qiuyang.mapper.show.ShowTagMapper;
import com.qiuyang.pojo.Blog;
import com.qiuyang.pojo.Tag;
import com.qiuyang.service.show.ShowTagService;
import com.qiuyang.service.show.ShowTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ShowTagServiceImpl implements ShowTagService {
    @Autowired
    private ShowTagMapper showTagMapper;
    @Override
    public List<Tag> findAllTag() {
        return showTagMapper.findAllTag();
    }

    @Override
    public List<Long> findBlogTags(String tagsId) {
        return showTagMapper.findBlogTags(tagsId);
    }

    @Override
    public Blog findBlogByBlogsId(Long blogsId) {
        return showTagMapper.findBlogByBlogsId(blogsId);
    }


}
